import {
  sum
} from "./utils/math.js";
import _ from "lodash-es";

// 对css处理
import "./css/base.css";
import "./css/style.less";

// 对ts处理
import {
  dateFormat
} from "./ts/format.ts";

// 对img处理
import zznh from "./img/zznh.png";
console.log("hello world");
console.log(sum(10, 20));
console.log(_.join(["abc", "cba"]));
console.log(dateFormat("123"));

// 对vue处理
import { createApp } from "vue";
import VueApp from "./vue/App.vue";
createApp(VueApp).mount("#app");

// img
const imgEl = document.createElement("img");
imgEl.src = zznh;
document.body.appendChild(imgEl);

// 对react处理
import React from "react";
import ReactDOM from "react-dom";
import ReactApp from "./react/App";
ReactDOM.render(<ReactApp/>, document.getElementById("root"));
